package com.xyzboom.compiler

import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.module.kotlin.jsonMapper
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.subcommands
import com.xyzboom.compiler.cli.GrammarCommand
import com.xyzboom.compiler.cli.LexerCommand
import com.xyzboom.compiler.cli.SemGrammarCommand
import com.xyzboom.compiler.fa.DFA
import com.xyzboom.compiler.fa.regex.parseRegex
import com.xyzboom.compiler.fa.toDFA

class CompilerCommand : CliktCommand() {
    override fun run() {

    }
}

fun main(args: Array<String>) {
    return CompilerCommand().subcommands(
        LexerCommand(),
        GrammarCommand(),
        SemGrammarCommand()
    ).main(args)
}
